import React, { FC } from 'react';
import GridLayout from './components/grid-layout/GridLayout';
import './App.css';
import LayoutProvider from './components/grid-layout/LayoutProvider';

const App: FC<{ name?: string }> = () => {
    return (
        <>
            {/*<Button onClick={ () => alert('哈哈') }>hello</Button>*/ }
            {/*<StateHook/>*/ }
            {/*<ReducerHook/>*/ }
            {/*<ContextHook/>*/ }
            <LayoutProvider>
                <GridLayout col={ 8 } row={ 24 }/>
            </LayoutProvider>
        </>
    );
};

export default App;
